package com.carkeeper.shop.pojo;

import javax.persistence.Id;
import javax.persistence.Table;

/**
 *  商家用户表
 */
@Table(name = "tb_store_user")
public class StoreUser {
    @Id
    private String id;


    private String username;//用户名
    private String password;//密码
    private String name;//姓名
    private String phone;//手机号
    private String storeId;//店铺id
    private String isAdmin;//是否是管理员
    private Integer type;// 0：连锁 1：服务商； 2：配件商

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(String isAdmin) {
        this.isAdmin = isAdmin;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}
